#ifndef EB905A5A_CRC_H
#define EB905A5A_CRC_H

#include "dataengineinterface.h"

class EB905A5A_CRC : public QObject, public DataEngineInterface
{
    Q_OBJECT
    Q_INTERFACES(DataEngineInterface)
    Q_PLUGIN_METADATA(IID "VOFA+.Plugin.EB905A5A_CRC")

public:
    explicit EB905A5A_CRC();
    ~EB905A5A_CRC();

    void ProcessingDatas(char *data, int count);
    bool ProcessingFrame(char *data, int count, QVector<float> &dd);
    uint32_t crc32_mpeg2_table(const uint8_t* data, int length, const uint32_t* table);
private:
    uint32_t image_count_mutation_count_ = 0;
};
#endif // EB905A5A_CRC_H
